package familytree.yu.com.admin.api.entity.memberinfo;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

/**
 * @Author: yuyunbo
 * @Date: 2021/1/31 21:24
 * @Description: 会员登录表, 手机号分16张表 实体类
 */
@Entity
@Table(name = "base_member_login_info")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BaseMemberLoginInfoEntity {


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;
    /**
     * 会员编码
     */
    @Column(name = "member_code")
    private String memberCode;
    /**
     * 手机号
     */
    @Column(name = "member_phone")
    private String memberPhone;
    /**
     * 登录密码
     */
    @Column(name = "member_password")
    private String memberPassword;


    /**
     * 创建时间
     */
    @Column(name = "gmt_created")
    private Date gmtCreated;
    /**
     * 创建人
     */
    @Column(name = "gmt_created_by")
    private String gmtCreatedBy;
    /**
     * 修改时间
     */
    @Column(name = "gmt_modified")
    private Date gmtModified;
    /**
     * 修改人
     */
    @Column(name = "gmt_modified_by")
    private String gmtModifiedBy;
    /**
     * 是否删除
     */
    @Column(name = "is_delete")
    private int isDelete;

}
